<style>
#editArtikl{
	width:350px;
}
#editArtikl #cenovnik_holder{
	float:right;
	margin-right:10px;
}
#editArtikl select:disabled{
	color:#000;
}
#editArtikl label{
	width:60px;
	text-align:right;
	display:block;
	float:left;
	padding-top:8px;
}
#editArtikl fieldset{
	width:300px;
	border:1px solid #aaa;
	margin:5px;
}
#editArtikl legend{
	color:#aaa;
}
#editArtikl input.cancel,
#editArtikl input.save{
	float:right;
	background-repeat:no-repeat;
	background-position:3px center;
	padding-left:20px;
}
#editArtikl input.save{background-image:url(gui/icons/save.gif)}
#editArtikl input.cancel{background-image:url(gui/icons/cancel.gif)}
#editArtikl .paketSelect{
	width:300px;
	float:left;
	clear:both;
	display:block;
	margin:5px;
	padding:0px;
	list-style-type:none;
}
#editArtikl .paketSelect li{
	clear:both;
}
#editArtikl .paketSelect li input[type=radio]{
	width:auto;
	display:block;
	float:left;
	margin-top:8px;
}
#editArtikl .paketSelect label{
	width:270px;
	text-align:left;
	float:left;
	clear:none;
}
#editArtikl .paketSelect .price{
	display:block;
	float:right;
	margin-right:5px;
	width:30px;
	text-align:right;
}
#editArtikl .paketSelect .name{
	display:block;
	float:left;
	font-weight:bolder;
}
#editArtikl .paketSelect .sadrzaj{
	clear:both;
	display:block;
	margin-left:10px;
	font-size:10px;
}
</style>
<form id="editArtikl" class="area" method="POST" action="javascript:void(0)" onsubmit="saveCena(this,'{{$cenovnik}}','{{$page}}')">
<input type="hidden" name="cena_id" value="{{$cena_id}}" />
<div id="cenovnik_holder">
<label for="cenovnik">Cenovnik:</label>
<select name="cenovnik" id="cenovnik">
	{{%loop start cenovnik_id}}
	<option value="{{$cenovnik_id}}" start="{{$cenovnik_start}}" {{$selected_cenovnik}}>{{$cenovnik_start_text}}</option>
	{{%loop end}}
</select>
</div>
<h2>{{$title}}</h2>
<fieldset>
  <legend>Artikl</legend>
  	<!-- ARTIKL -->
	<label for="artikl_id">Naziv:</label>
	<select name="artikl_id" id="artikl_id">
		{{%loop start art_id}}
		<option value="{{$art_id}}" {{$selected_artikl}}>{{$art_name}}</option>
		{{%loop end}}
	</select>
	<br clear="all" />
	<!-- ARTIKL TIP -->
	<label for="artikl_tip">Tip:</label>
	<select name="artikl_tip" id="artikl_tip">
		{{%loop start art_tip_id}}
		<option value="{{$art_tip_id}}" {{$selected_tip}}>{{$art_tip_name}}</option>
		{{%loop end}}
	</select><br clear="all" />
	<!-- ARTIKL BOJA -->
	<label for="artikl_boja">Boja:</label>
	<select name="artikl_boja" id="artikl_boja">
		{{%loop start art_boja_id}}
		<option value="{{$art_boja_id}}" title="{{$art_boja_name}}" {{$selected_boja}}>{{$art_boja_code}}</option>
		{{%loop end}}
	</select>
	<!-- ARTIKL MERA -->
	<label for="artikl_mera" style="width:40px;">Mera:</label>
	<input style="width:20px; text-align:right" type="text" name="artikl_mera" id="artikl_mera" value="{{$art_mera}}" />
	<select name="artikl_jm" id="artikl_jm">
		{{%loop start art_jm_id}}
		<option value="{{$art_jm_id}}" title="{{$art_jm_name}}" {{$selected_jm}}>{{$art_jm_code}}</option>
		{{%loop end}}
	</select>
	<br clear="all" />
</fieldset>
<!-- CENA -->
<label for="cena">Cena:</label>
<input type="text" name="cena" id="cena" style="width:80px; text-align:right;" value="{{$cena}}" /><br clear="all" />
<input style="float:right" type="submit" class="save" value="Sačuvaj" />
<input style="float:right" type="reset" class="cancel" value="Poništi" />

</form>